home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 301-325 / disk_319 / cnewssrc / cnews.orig.lzh / libsmall / Makefile < prev    next >
Makefile  |  1989-06-27  |  538b  |  32 lines

  1. # libsmall makefile
  2. INCLUDE=../include
  3. DEFINES=-I$(INCLUDE) -I../relay
  4. COPTS= -O # -pg -p
  5. CFLAGS= $(COPTS) $(DEFINES)
  6. LINTFLAGS=-hau $(DEFINES)
  7. LIB=libcnews.a
  8. # RANLIB is ranlib on non-USG systems, echo on USG systems
  9. RANLIB=ranlib
  10. #RANLIB=:
  11. SRCS=active.slow.c sys.slow.c
  12. OBJS=active.slow.o sys.slow.o
  13. # workaround for System V make bug
  14. SHELL = /bin/sh
  15.  
  16. u:    $(OBJS)
  17.     ar ruv ../libcnews.a $(OBJS)
  18.  
  19. all:    $(OBJS)
  20.  
  21. $(LIB): $(SRCS)
  22.     $(CC) $(CFLAGS) -c $?
  23.     ar rv $@ *.o
  24.     rm *.o
  25.     $(RANLIB) $@
  26.  
  27. lint:
  28.     lint $(LINTFLAGS) $(SRCS)
  29.  
  30. clean:
  31.     rm -f *.o
  32.